﻿<!DOCTYPE html>
<html lang="en">
  <head>
    <title>@ViewBag.Title</title>

    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le styles -->
    <link href="@Url.Content("~/Content/CSS/bootstrap.min.css")" rel="stylesheet" />
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" />
    @RenderSection("Head", false)
    
    @if (ipFoo.Models.Settings.AnalyticsKey != null)
    {
    <script type="text/javascript">
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', '@ipFoo.Models.Settings.AnalyticsKey']);
        _gaq.push(['_trackPageview']);

        (function () {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();
    </script>
    }
  </head>

  <body>
    <div class="container">
      <div class="content">
        <div class="page-header">
            <h1>
                It's your IP, foo!
                <small>Jibber jabbing your IP Address since 2005!</small>
            </h1>

            <ul class="breadcrumb noBottomSpacer">
              <li>Your IP Address is also viewable as</li>
              <li>@Html.ActionLink("text", "Text") or @Html.ActionLink("xml", "Xml").</li>
              <li><a href="@ipFoo.Models.Settings.ContactMail">Questions?</a></li>
            </ul>
        </div>

        <div class="row">
          <div class="span10">
            @RenderBody()
          </div>
        </div>
      </div>

      <footer>
        <p>&copy; 2012 Brad Butner &middot; Mr. T logo used under permission from <a class="daveEvans" href="http://daveevansillustration.com" target="_new"> daveevansillustration.com</a>.</p>
        <p><a href="http://ipfoo.codeplex.com/" target="_new">ipfoo.com is now open source and downloadable on codeplex!</a></p>
      </footer>
    </div> <!-- /container -->
  </body>
</html>